package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

//正式学员
@Setter
@Getter
@ToString
public class OfficialStudent {
    private Long id;

    private String name;            // 姓名

    private Integer age;            //年龄

    private DictionaryItem gender;         //性别

    private String tel;            //电话

    private String qqNum;          //QQ

    private String email;           //邮箱

    private String schoolName;      //学校名称

    private DictionaryItem schoolClient;       //学校客户

    private DictionaryItem education;          //学历

    private String address;             //地址

    private DictionaryItem clientSource;             //客户来源

    private DictionaryItem clientType;         //客户类型

    private Integer workingYear;        //工作年限

    private Clazz clazz;              //班级

    private Employee marketingPerson;       //营销人员

    private DictionaryItem campus;                 //意向校区

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date positiveTime;              //转正时间

    private String idCard;                 //身份证号

    private String emergencyName;           //紧急联系人姓名

    private String emergencyTel;           //紧急联系人电话

    private DictionaryItem jobIntention;           //就业意向

    private String workExperience;          //工作经历

    private DictionaryItem state;                  //状态

    private DictionaryItem paymentType;                //支付方式

    private Long client_id;                 //客户id

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date entranceTime;              //入学时间

    private DictionaryItem totalTuition;              //总学费

    private BigDecimal hasDealTuition;            //已交学费

    private BigDecimal noDealTuition;             //未交学费

    private Integer dealTuitionState;       //缴费状态

    private DictionaryItem studyState;                //学习状态

    //目标班级
    private Clazz targetClazz;




}